3.189 \(\int \frac {x}{\sqrt {a+b \sin ^{-1}(c x)}} \, dx\)

Optimal. Leaf size=99 \[ \frac {\sqrt {\pi } \cos \left (\frac {2 a}{b}\right ) S\left (\frac {2 \sqrt {a+b \sin ^{-1}(c x)}}{\sqrt {b} \sqrt {\pi }}\right )}{2 \sqrt {b} c^2}-\frac {\sqrt {\pi } \sin \left (\frac {2 a}{b}\right ) C\left (\frac {2 \sqrt {a+b \sin ^{-1}(c x)}}{\sqrt {b} \sqrt {\pi }}\right )}{2 \sqrt {b} c^2} \]

[Out]

1/2*cos(2*a/b)*FresnelS(2*(a+b*arcsin(c*x))^(1/2)/b^(1/2)/Pi^(1/2))*Pi^(1/2)/c^2/b^(1/2)-1/2*FresnelC(2*(a+b*a
rcsin(c*x))^(1/2)/b^(1/2)/Pi^(1/2))*sin(2*a/b)*Pi^(1/2)/c^2/b^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.18, antiderivative size = 99, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.571, Rules used = {4635, 4406, 12, 3306, 3305, 3351, 3304, 3352} \[ \frac {\sqrt {\pi } \cos \left (\frac {2 a}{b}\right ) S\left (\frac {2 \sqrt {a+b \sin ^{-1}(c x)}}{\sqrt {b} \sqrt {\pi }}\right )}{2 \sqrt {b} c^2}-\frac {\sqrt {\pi } \sin \left (\frac {2 a}{b}\right ) \text {FresnelC}\left (\frac {2 \sqrt {a+b \sin ^{-1}(c x)}}{\sqrt {\pi } \sqrt {b}}\right )}{2 \sqrt {b} c^2} \]

Antiderivative was successfully verified.

[In]

Int[x/Sqrt[a + b*ArcSin[c*x]],x]

[Out]

(Sqrt[Pi]*Cos[(2*a)/b]*FresnelS[(2*Sqrt[a + b*ArcSin[c*x]])/(Sqrt[b]*Sqrt[Pi])])/(2*Sqrt[b]*c^2) - (Sqrt[Pi]*F
resnelC[(2*Sqrt[a + b*ArcSin[c*x]])/(Sqrt[b]*Sqrt[Pi])]*Sin[(2*a)/b])/(2*Sqrt[b]*c^2)

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 3304

Int[sin[Pi/2 + (e_.) + (f_.)*(x_)]/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[Cos[(f*x^2)/d],
x], x, Sqrt[c + d*x]], x] /; FreeQ[{c, d, e, f}, x] && ComplexFreeQ[f] && EqQ[d*e - c*f, 0]

Rule 3305

Int[sin[(e_.) + (f_.)*(x_)]/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[Sin[(f*x^2)/d], x], x,
Sqrt[c + d*x]], x] /; FreeQ[{c, d, e, f}, x] && ComplexFreeQ[f] && EqQ[d*e - c*f, 0]

Rule 3306

Int[sin[(e_.) + (f_.)*(x_)]/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[Cos[(d*e - c*f)/d], Int[Sin[(c*f)/d +
f*x]/Sqrt[c + d*x], x], x] + Dist[Sin[(d*e - c*f)/d], Int[Cos[(c*f)/d + f*x]/Sqrt[c + d*x], x], x] /; FreeQ[{c
, d, e, f}, x] && ComplexFreeQ[f] && NeQ[d*e - c*f, 0]

Rule 3351

Int[Sin[(d_.)*((e_.) + (f_.)*(x_))^2], x_Symbol] :> Simp[(Sqrt[Pi/2]*FresnelS[Sqrt[2/Pi]*Rt[d, 2]*(e + f*x)])/
(f*Rt[d, 2]), x] /; FreeQ[{d, e, f}, x]

Rule 3352

Int[Cos[(d_.)*((e_.) + (f_.)*(x_))^2], x_Symbol] :> Simp[(Sqrt[Pi/2]*FresnelC[Sqrt[2/Pi]*Rt[d, 2]*(e + f*x)])/
(f*Rt[d, 2]), x] /; FreeQ[{d, e, f}, x]

Rule 4406

Int[Cos[(a_.) + (b_.)*(x_)]^(p_.)*((c_.) + (d_.)*(x_))^(m_.)*Sin[(a_.) + (b_.)*(x_)]^(n_.), x_Symbol] :> Int[E
xpandTrigReduce[(c + d*x)^m, Sin[a + b*x]^n*Cos[a + b*x]^p, x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n, 0]
&& IGtQ[p, 0]

Rule 4635

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_)*(x_)^(m_.), x_Symbol] :> Dist[1/c^(m + 1), Subst[Int[(a + b*x)^n*S
in[x]^m*Cos[x], x], x, ArcSin[c*x]], x] /; FreeQ[{a, b, c, n}, x] && IGtQ[m, 0]

Rubi steps

\begin {align*} \int \frac {x}{\sqrt {a+b \sin ^{-1}(c x)}} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\cos (x) \sin (x)}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c x)\right )}{c^2}\\ &=\frac {\operatorname {Subst}\left (\int \frac {\sin (2 x)}{2 \sqrt {a+b x}} \, dx,x,\sin ^{-1}(c x)\right )}{c^2}\\ &=\frac {\operatorname {Subst}\left (\int \frac {\sin (2 x)}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c x)\right )}{2 c^2}\\ &=\frac {\cos \left (\frac {2 a}{b}\right ) \operatorname {Subst}\left (\int \frac {\sin \left (\frac {2 a}{b}+2 x\right )}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c x)\right )}{2 c^2}-\frac {\sin \left (\frac {2 a}{b}\right ) \operatorname {Subst}\left (\int \frac {\cos \left (\frac {2 a}{b}+2 x\right )}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c x)\right )}{2 c^2}\\ &=\frac {\cos \left (\frac {2 a}{b}\right ) \operatorname {Subst}\left (\int \sin \left (\frac {2 x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c x)}\right )}{b c^2}-\frac {\sin \left (\frac {2 a}{b}\right ) \operatorname {Subst}\left (\int \cos \left (\frac {2 x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c x)}\right )}{b c^2}\\ &=\frac {\sqrt {\pi } \cos \left (\frac {2 a}{b}\right ) S\left (\frac {2 \sqrt {a+b \sin ^{-1}(c x)}}{\sqrt {b} \sqrt {\pi }}\right )}{2 \sqrt {b} c^2}-\frac {\sqrt {\pi } C\left (\frac {2 \sqrt {a+b \sin ^{-1}(c x)}}{\sqrt {b} \sqrt {\pi }}\right ) \sin \left (\frac {2 a}{b}\right )}{2 \sqrt {b} c^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.08, size = 123, normalized size = 1.24 \[ -\frac {e^{-\frac {2 i a}{b}} \left (\sqrt {-\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}} \Gamma \left (\frac {1}{2},-\frac {2 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )+e^{\frac {4 i a}{b}} \sqrt {\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}} \Gamma \left (\frac {1}{2},\frac {2 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )\right )}{4 \sqrt {2} c^2 \sqrt {a+b \sin ^{-1}(c x)}} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[x/Sqrt[a + b*ArcSin[c*x]],x]

[Out]

-1/4*(Sqrt[((-I)*(a + b*ArcSin[c*x]))/b]*Gamma[1/2, ((-2*I)*(a + b*ArcSin[c*x]))/b] + E^(((4*I)*a)/b)*Sqrt[(I*
(a + b*ArcSin[c*x]))/b]*Gamma[1/2, ((2*I)*(a + b*ArcSin[c*x]))/b])/(Sqrt[2]*c^2*E^(((2*I)*a)/b)*Sqrt[a + b*Arc
Sin[c*x]])

________________________________________________________________________________________

fricas [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(a+b*arcsin(c*x))^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

________________________________________________________________________________________

giac [C]  time = 2.06, size = 132, normalized size = 1.33 \[ \frac {i \, \sqrt {\pi } \operatorname {erf}\left (-\frac {\sqrt {b \arcsin \left (c x\right ) + a}}{\sqrt {b}} + \frac {i \, \sqrt {b \arcsin \left (c x\right ) + a} \sqrt {b}}{{\left | b \right |}}\right ) e^{\left (-\frac {2 i \, a}{b}\right )}}{4 \, c^{2} {\left (\sqrt {b} - \frac {i \, b^{\frac {3}{2}}}{{\left | b \right |}}\right )}} - \frac {i \, \sqrt {\pi } \operatorname {erf}\left (-\frac {\sqrt {b \arcsin \left (c x\right ) + a}}{\sqrt {b}} - \frac {i \, \sqrt {b \arcsin \left (c x\right ) + a} \sqrt {b}}{{\left | b \right |}}\right ) e^{\left (\frac {2 i \, a}{b}\right )}}{4 \, \sqrt {b} c^{2} {\left (\frac {i \, b}{{\left | b \right |}} + 1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(a+b*arcsin(c*x))^(1/2),x, algorithm="giac")

[Out]

1/4*I*sqrt(pi)*erf(-sqrt(b*arcsin(c*x) + a)/sqrt(b) + I*sqrt(b*arcsin(c*x) + a)*sqrt(b)/abs(b))*e^(-2*I*a/b)/(
c^2*(sqrt(b) - I*b^(3/2)/abs(b))) - 1/4*I*sqrt(pi)*erf(-sqrt(b*arcsin(c*x) + a)/sqrt(b) - I*sqrt(b*arcsin(c*x)
 + a)*sqrt(b)/abs(b))*e^(2*I*a/b)/(sqrt(b)*c^2*(I*b/abs(b) + 1))

________________________________________________________________________________________

maple [A]  time = 0.06, size = 80, normalized size = 0.81 \[ -\frac {\sqrt {\pi }\, \sqrt {\frac {1}{b}}\, \left (\sin \left (\frac {2 a}{b}\right ) \FresnelC \left (\frac {2 \sqrt {a +b \arcsin \left (c x \right )}}{\sqrt {\pi }\, \sqrt {\frac {1}{b}}\, b}\right )-\cos \left (\frac {2 a}{b}\right ) \mathrm {S}\left (\frac {2 \sqrt {a +b \arcsin \left (c x \right )}}{\sqrt {\pi }\, \sqrt {\frac {1}{b}}\, b}\right )\right )}{2 c^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(a+b*arcsin(c*x))^(1/2),x)

[Out]

-1/2*Pi^(1/2)*(1/b)^(1/2)*(sin(2*a/b)*FresnelC(2/Pi^(1/2)/(1/b)^(1/2)*(a+b*arcsin(c*x))^(1/2)/b)-cos(2*a/b)*Fr
esnelS(2/Pi^(1/2)/(1/b)^(1/2)*(a+b*arcsin(c*x))^(1/2)/b))/c^2

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x}{\sqrt {b \arcsin \left (c x\right ) + a}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(a+b*arcsin(c*x))^(1/2),x, algorithm="maxima")

[Out]

integrate(x/sqrt(b*arcsin(c*x) + a), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {x}{\sqrt {a+b\,\mathrm {asin}\left (c\,x\right )}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(a + b*asin(c*x))^(1/2),x)

[Out]

int(x/(a + b*asin(c*x))^(1/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x}{\sqrt {a + b \operatorname {asin}{\left (c x \right )}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(a+b*asin(c*x))**(1/2),x)

[Out]

Integral(x/sqrt(a + b*asin(c*x)), x)

________________________________________________________________________________________